.PHONY: mocclean FORCE

# Makefile.qmake is only exist when --enable-qt5
if QT5
all clean mocclean install uninstall:
	$(MAKE) $(AM_MAKEFLAGS) -f Makefile.qmake INSTALL_ROOT=$(DESTDIR) $@
endif

# *.pro is required to run Makefile.qmake. So distclean-am is deferred.
distclean:
if QT5
	$(MAKE) $(AM_MAKEFLAGS) -f Makefile.qmake $@
	$(MAKE) $(AM_MAKEFLAGS) distclean-am
endif
	-rm -f Makefile uim-im-switcher-qt5.pro

FORCE:

EXTRA_DIST =  uim-im-switcher-qt5.pro.in
